//
//  UserPageCell.m
//  ProjectA
//
//  Created by lioccord on 15-3-9.
//  Copyright (c) 2015年 李赐岩 姜雪 张昕锐. All rights reserved.
//

#import "UserPageCell.h"

@implementation UserPageCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        [self setViews];
        
    }
    return self;
}


-(void)setViews{
    
    self.imageview = [[UIImageView alloc] initWithFrame:CGRectMake(45, 5, 40, 40)];
    [self.contentView addSubview:self.imageview];
    
    //
    
    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(115, 5, 300, 40)];
    self.titleLabel.text = @"asdasd";
    self.titleLabel.font = [UIFont systemFontOfSize:20];
    self.titleLabel.textColor = [UIColor grayColor];
    
    [self.contentView addSubview:self.titleLabel];
    
    
    
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
